<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>绩效分析折线图</title>
</head>
<%@include file="/commons/statics.jsp"%>
<body>
	<div class="container-fluid">
	    <div class="row">&nbsp;</div>
		<div class="row">
			 <div class="col-xs-12">
			    <label>比较年份：</label>
			 	<div id="years"></div>
			 </div>
		</div>
	</div>
</body>
<script type="text/javascript">

function getCompareGroupYearsPerf(paramTemp){	
	//获取分组数据年份
	$.ajax({
		url: contextPath+'/DrgsIndexCal/getGroupAllYears.dhc',
		async:false,
		dataType:"json",
		 data: {
			 'pardepgroupCode':paramTemp.depGroupCode,
			 'pardepCode':paramTemp.depCode,
			 'pargroupName': paramTemp.groupName,
			 'protomedicus': paramTemp.protomedicus,
			 'physician': paramTemp.physician,
			 'resident': paramTemp.resident
		},
		type:"post",
		success:function(result){
			 var years = result.data;
	    	 var  str="";
	    	  $.each(years, function (n, value) {
		    		  str+="<input type='checkbox' name='year' id='"+value+"' value='"+value+"'/><label for='"+value+"'>"+value+"</label>&nbsp;&nbsp;";
	    	  });
	    	  $('#years').append(str);
		}
	});
 }
</script>
</html>